{% extends 'admin_manage_Layout.html' %}

{% block content %}
<div class="container">
        <div class="panel panel-default">
            <div class="panel-heading">{{ title }}</div>
            <div class="panel-body">
                <form class="form-inline" method="post" novalidate>
                    {% csrf_token %}
                    {% for field in form %}
                    <div class="form-group">
                        <div style="margin-bottom: 10px">
                            <label for="exampleInputName2" >{{ field.label }}</label>
                        </div>
                        <div style="margin-bottom: 10px">
                            {{ field }}
                            <span style="color: red">{{ field.errors.0 }}</span>
{#                            <input type="text" name="user" class="form-control" id="exampleInputName2" placeholder="姓名">#}
                        </div>
                    </div>
                    {% endfor %}


                    <div>
                        <button type="submit" class="btn btn-primary">提 交</button>
                    </div>
                </form>
            </div>
        </div>

    </div>

{% endblock %}


